package com.cloudservice.ccs.mapper;


import com.cloudservice.ccs.entity.Notice;
import com.cloudservice.ccs.model.NoticeConnectQuery;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface NoticeMapper {
    int save( Notice notice);

    int update(Integer id, Notice notice);

    int partialUpdate(Integer id, Map<String, Object> fields);

    int delete(Integer id);

    Notice getOne(Integer id);

    List<NoticeConnectQuery> getAll();

    NoticeConnectQuery queryCustomerService(Integer id);
}
